﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link rel="stylesheet" type="text/css" href="estilos/estilos.css" />
    <title>Login</title>
    <style type="text/css">
        .style1
        {
            height: 57px;
        }
    </style>
</head>
<body id="main_body" style="margin-left: 0px; margin-top: 5px; margin-right: 0px;
    margin-bottom: 0px; background-color: white;">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
        <tbody>
            <tr>
                <td>
                    <div id="div_header" style="height: 70px;">
                        <table border="0" cellpadding="0" cellspacing="0" class="imagen_header">
                            <tbody>
                                <tr class="row_top">
                                    <td>
                                        <div style="width: 200">
                                        </div>
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        <div style="width: 5">
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div id="div_body" style="border-style: none; border-color: inherit; border-width: 0px; position: relative; left: 0px; top: 0px; align: center;
                        width: 760px; height: 469px; overflow-y: auto; overflow-x: hidden;
                        z-index: 20">
                        <form id="form1" runat="server">
                        <div style="height: 82px">
                        </div>
                        <table id="centrar" align="center" cellpadding="0" cellspacing="0" 
                            style="text-align: left; text-indent: 2px; width: 410px; height: 133px;">
                            <tr>
                                <td>
                                    <asp:Login ID="Login1" runat="server" Height="164px" Width="428px" 
                                        BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderPadding="0" BorderStyle="Solid"  
                                        BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                                        ForeColor="#333333"> 
                                        <LayoutTemplate>
                                       
                                            <table border="0" cellpadding="0" cellspacing="0" 
                                                style="border-collapse:collapse;">
                                                <tr>
                                                    <td>
                                                        <table border="0" cellpadding="0" style="height:164px;width:435px;" 
                                                            class="result_text">
                                                            <tr>
                                                                <td align="center" colspan="2" class="table_header_text_center">
                                                                    Inicio
                                                                  </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
                                                                        CssClass="text">Usuario </asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="tiposDoc" runat="server" Height="16px" CssClass="input100px"
                                                                        onselectedindexchanged="DropDownList1_SelectedIndexChanged" Width="48px">
                                                                    </asp:DropDownList>
                                                                    <asp:TextBox ID="UserName" runat="server" Width="82px" 
                                                                        CssClass="input100px"></asp:TextBox>
                                                              
                                                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                                        ControlToValidate="UserName" ErrorMessage="El nombre de usuario es requerido." 
                                                                        ToolTip="El nombre de usuario es requerido." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" 
                                                                        CssClass="text">Contraseña </asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="137px" 
                                                                        CssClass="input100px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                                        ControlToValidate="Password" ErrorMessage="La contraseña es requerida." 
                                                                        ToolTip="La contraseña es requerida." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" style="color:Red;" class="style1">
                                                             
                                                                    <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="Login1" runat="server" Height="16px" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right" colspan="2">

                                                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Entrar" 
                                                                        ValidationGroup="Login1"  CssClass="small_button" onclick="LoginButton_Click" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </LayoutTemplate>
                                    
                                    </asp:Login>
                                </td>
            </tr>
            </table> </div> </form> </div> </td> </tr>
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" width="760px" style="background-color: white;
                        text-align: center;">
                        <tbody>
                            <tr>
                                <td>
                                    <img src="images/footer2.gif" height="26" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
